import request from '@/utils/request'

export function login (username, password, domain) {
  const data = {
    userAccountNum: username,
    password: password,
    domain: domain
  }

  return request({
    url: '/api/substation/login/login.json',
    method: 'post',
    data: data
  })
}
